package com.leadingsoft.pwxk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.leadingsoft.pwxk.dto.AirPermitInfoDto;
import com.leadingsoft.pwxk.service.AirPermitInfoService;

/**
 * @author: lipan 2018年5月17日
 * @description: (  大气污染 -企业大气排放总许可量信息  )
 * 
 */
@RestController
@RequestMapping("api/airPermit")
public class AirPermitInfoController {

	@Autowired
	private AirPermitInfoService airPermitInfoService;

	@GetMapping("/{dataid}")
	AirPermitInfoDto get(@PathVariable(value = "dataid") String dataid) {
		return airPermitInfoService.get(dataid);
	}

}
